package org.zfes.snowier.zbss.xzy.biz.file.model;
import org.zfes.snowier.core.data.IBaseModel;
public class File extends IBaseModel{

	private static final long serialVersionUID = 1L;
	
	public File() {}
	public File(Long id) {
		this.setId(id);
	}
	//<-------------------------------------------->

 

	@javax.validation.constraints.NotNull(message="默认所属租户不能为空")

	  private java.lang.Long mesageId;
 
	@javax.validation.constraints.NotBlank(message="主键ID不能为空")
	@javax.validation.constraints.NotNull(message="主键ID不能为空")
	@org.hibernate.validator.constraints.Length(min=0,max=255,message="主键ID长度不能大于255")
	  private java.lang.String fileId;
 

	  private java.lang.Byte fileType;
 

	@javax.validation.constraints.NotNull(message="用户状态不能为空")

	  private java.lang.Byte status;
 

	  private java.util.Date createTime;
 

	  private java.util.Date updateTime;
 
	@org.hibernate.validator.constraints.Length(min=0,max=20,message="文件后缀长度不能大于20")
	  private java.lang.String fileExt;
 
	private String playUrl;
	//<-------------------------------------------->
	public File setMesageId(java.lang.Long mesageId){
	 this.mesageId=mesageId;
	 return this;
	}
	public java.lang.Long getMesageId(){
		return this.mesageId;
	}
	public File setFileId(java.lang.String fileId){
		this.fileId=fileId==null?null:fileId.trim();
	 return this;
	}
	public java.lang.String getFileId(){
		return this.fileId;
	}
	public File setFileType(java.lang.Byte fileType){
	 this.fileType=fileType;
	 return this;
	}
	public java.lang.Byte getFileType(){
		return this.fileType;
	}
	public File setStatus(java.lang.Byte status){
	 this.status=status;
	 return this;
	}
	public java.lang.Byte getStatus(){
		return this.status;
	}
	public File setCreateTime(java.util.Date createTime){
	 this.createTime=createTime;
	 return this;
	}
	public java.util.Date getCreateTime(){
		return this.createTime;
	}
	public File setUpdateTime(java.util.Date updateTime){
	 this.updateTime=updateTime;
	 return this;
	}
	public java.util.Date getUpdateTime(){
		return this.updateTime;
	}
	public File setFileExt(java.lang.String fileExt){
		this.fileExt=fileExt==null?null:fileExt.trim();
	 return this;
	}
	public java.lang.String getFileExt(){
		return this.fileExt;
	}
	public String getPlayUrl() {
		return playUrl;
	}
	public void setPlayUrl(String playUrl) {
		this.playUrl = playUrl;
	}
	@Override
	public String toString() {
		return "File [mesageId=" + mesageId + ", fileId=" + fileId + ", fileType=" + fileType + ", status=" + status
				+ ", createTime=" + createTime + ", updateTime=" + updateTime + ", fileExt=" + fileExt + ", playUrl="
				+ playUrl + "]";
	}

}
